package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 yonghu
 * 
 * @author ruoyi
 * @date 2024-08-10
 */
public class Yonghu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id，主键 */
    private Long yhId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String yhName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String yhPhone;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String yhMail;

    /** 用户地址 */
    @Excel(name = "用户地址")
    private String yhAddress;

    /** 近90日下单数量 */
    @Excel(name = "近90日下单数量")
    private Long yhXiadancount;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String yhPicture;

    /** 用户类型id */
    @Excel(name = "用户类型id")
    private Long yhlxId;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yhTjsj;

    /** 状态 */
    @Excel(name = "状态")
    private Long yhStatus;

    /** 订单信息 */
    private List<Dingdan> dingdanList;

    public void setYhId(Long yhId) 
    {
        this.yhId = yhId;
    }

    public Long getYhId() 
    {
        return yhId;
    }
    public void setYhName(String yhName) 
    {
        this.yhName = yhName;
    }

    public String getYhName() 
    {
        return yhName;
    }
    public void setYhPhone(String yhPhone) 
    {
        this.yhPhone = yhPhone;
    }

    public String getYhPhone() 
    {
        return yhPhone;
    }
    public void setYhMail(String yhMail) 
    {
        this.yhMail = yhMail;
    }

    public String getYhMail() 
    {
        return yhMail;
    }
    public void setYhAddress(String yhAddress) 
    {
        this.yhAddress = yhAddress;
    }

    public String getYhAddress() 
    {
        return yhAddress;
    }
    public void setYhXiadancount(Long yhXiadancount) 
    {
        this.yhXiadancount = yhXiadancount;
    }

    public Long getYhXiadancount() 
    {
        return yhXiadancount;
    }
    public void setYhPicture(String yhPicture) 
    {
        this.yhPicture = yhPicture;
    }

    public String getYhPicture() 
    {
        return yhPicture;
    }
    public void setYhlxId(Long yhlxId) 
    {
        this.yhlxId = yhlxId;
    }

    public Long getYhlxId() 
    {
        return yhlxId;
    }
    public void setYhTjsj(Date yhTjsj) 
    {
        this.yhTjsj = yhTjsj;
    }

    public Date getYhTjsj() 
    {
        return yhTjsj;
    }
    public void setYhStatus(Long yhStatus) 
    {
        this.yhStatus = yhStatus;
    }

    public Long getYhStatus() 
    {
        return yhStatus;
    }

    public List<Dingdan> getDingdanList()
    {
        return dingdanList;
    }

    public void setDingdanList(List<Dingdan> dingdanList)
    {
        this.dingdanList = dingdanList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("yhId", getYhId())
            .append("yhName", getYhName())
            .append("yhPhone", getYhPhone())
            .append("yhMail", getYhMail())
            .append("yhAddress", getYhAddress())
            .append("yhXiadancount", getYhXiadancount())
            .append("yhPicture", getYhPicture())
            .append("yhlxId", getYhlxId())
            .append("yhTjsj", getYhTjsj())
            .append("yhStatus", getYhStatus())
            .append("dingdanList", getDingdanList())
            .toString();
    }
}
